/*
 * @Description: Description
 * @Author: Kerwin
 * @Date: 2025-03-29 16:29:25
 * @LastEditTime: 2025-05-27 16:58:13
 * @LastEditors:  Please set LastEditors
 */
import type { App } from 'vue'
import { keepTwoDecimal } from './keepTwoDecimal'
import { keepTwoDecimal2 } from './keepTwoDecimal2'

export function setupDirectives(app: App) {
  // 注册输入限制指令
  app.directive('input-decimal', keepTwoDecimal)
  app.directive('input-decimal2', keepTwoDecimal2)
  
  // 未来可以在此添加其他指令
}